
 
 Ext.application({ 
 	name:"This Name is Optional", 
 	launch:function(){
 		var loginForm = Ext.create("Ext.panel.Panel", {
 			title:"Login",
 			width:100,
 			height:100,
 			autoShow:true,
 			items:[
 				
 			],
 			buttons:[
	 			{text:"denglu"},
	 			{text:"zhuce"}
 			]
 		});
 		//var viewport = Ext.create("Ext.container.Viewport");
 		
		//loginForm.setPosition(100,200);
		loginFrom.showAt(100,200);
 	}
 });
/*
Ext.onReady(function() {
			new Ext.container.Viewport({
						layout : "border",
						items : [{
									title : "north1",
									region : "north",
									html : "north"
								}, {
									title : "south1",
									region : "south",
									html : "south"
								}, {
									title : "center1",
									region : "center",
									html : "center"
								}, {
									title : "west1",
									region : "west",
									html : "west"
								}, {
									title : "east1",
									region : "east",
									html : "east"
								}]
					});
		});
*/